package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.Result;
import com.itheima.dto.DishDto;
import com.itheima.pojo.Dish;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface DishService extends IService<Dish> {

    Result add(DishDto dishDto);


    Result updateSingle(DishDto dishDto);
}
